package archer.application.elastic.mock.core.subject;

import archer.framework.security.token.Subject;

import java.io.Serializable;

/**
 * token中存储的用户对象
 *
 * @author christ
 * @date 2016/6/7
 */
public class ArcherUser implements Subject, Serializable {

    private String userId;

    @Override
    public String getUserId() {

        return userId;
    }

    public ArcherUser setUserId(String userId) {
        this.userId = userId;
        return this;
    }
}
